// Mock Organization Data for Medical CRM System

// 科室数据
export const departments = [
  {
    id: 'D001',
    name: '内科',
    description: '负责各种内科疾病的诊断和治疗，包括消化、呼吸、心血管等系统疾病',
    location: '门诊楼2层',
    headDoctor: '张立',
    staffCount: 45,
    children: [
      {
        id: 'D001-1',
        name: '心内科',
        description: '专注于心脏及循环系统疾病的诊断和治疗',
        location: '门诊楼2层东侧',
        headDoctor: '刘明',
        staffCount: 12
      },
      {
        id: 'D001-2',
        name: '消化内科',
        description: '专注于消化系统疾病的诊断和治疗',
        location: '门诊楼2层中区',
        headDoctor: '王红',
        staffCount: 10
      },
      {
        id: 'D001-3',
        name: '呼吸内科',
        description: '专注于呼吸系统疾病的诊断和治疗',
        location: '门诊楼2层西侧',
        headDoctor: '李强',
        staffCount: 9
      },
      {
        id: 'D001-4',
        name: '内分泌科',
        description: '专注于内分泌系统疾病如糖尿病、甲状腺疾病的诊断和治疗',
        location: '门诊楼2层西南侧',
        headDoctor: '赵芳',
        staffCount: 8
      },
      {
        id: 'D001-5',
        name: '神经内科',
        description: '专注于神经系统疾病如脑卒中、癫痫等的诊断和治疗',
        location: '门诊楼3层东侧',
        headDoctor: '林青',
        staffCount: 6
      }
    ]
  },
  {
    id: 'D002',
    name: '外科',
    description: '负责各种需要手术治疗的疾病，包括普外、骨科、神经外科等',
    location: '门诊楼3层',
    headDoctor: '陈伟',
    staffCount: 38,
    children: [
      {
        id: 'D002-1',
        name: '普通外科',
        description: '负责常见外科疾病如疝气、阑尾炎等的手术治疗',
        location: '门诊楼3层西侧',
        headDoctor: '黄刚',
        staffCount: 10
      },
      {
        id: 'D002-2',
        name: '骨科',
        description: '专注于骨骼、关节、肌肉等运动系统疾病的诊断和治疗',
        location: '门诊楼3层中区',
        headDoctor: '张强',
        staffCount: 12
      },
      {
        id: 'D002-3',
        name: '神经外科',
        description: '专注于需要手术治疗的神经系统疾病',
        location: '门诊楼3层东北侧',
        headDoctor: '马超',
        staffCount: 6
      },
      {
        id: 'D002-4',
        name: '泌尿外科',
        description: '专注于泌尿系统疾病的诊断和手术治疗',
        location: '门诊楼3层东南侧',
        headDoctor: '王勇',
        staffCount: 5
      },
      {
        id: 'D002-5',
        name: '胸外科',
        description: '专注于胸部器官如肺、食管等外科疾病的诊断和治疗',
        location: '门诊楼3层南侧',
        headDoctor: '李军',
        staffCount: 5
      }
    ]
  },
  {
    id: 'D003',
    name: '妇产科',
    description: '负责女性生殖系统疾病和妊娠相关医疗服务',
    location: '门诊楼4层东侧',
    headDoctor: '王丽',
    staffCount: 25,
    children: [
      {
        id: 'D003-1',
        name: '妇科',
        description: '专注于女性生殖系统疾病的诊断和治疗',
        location: '门诊楼4层东北侧',
        headDoctor: '李红',
        staffCount: 12
      },
      {
        id: 'D003-2',
        name: '产科',
        description: '提供孕期检查、分娩和产后服务',
        location: '门诊楼4层东南侧',
        headDoctor: '张玲',
        staffCount: 13
      }
    ]
  },
  {
    id: 'D004',
    name: '儿科',
    description: '提供从新生儿到青少年的医疗服务',
    location: '门诊楼4层西侧',
    headDoctor: '刘芳',
    staffCount: 18,
    children: [
      {
        id: 'D004-1',
        name: '小儿内科',
        description: '专注于儿童内科疾病的诊断和治疗',
        location: '门诊楼4层西北侧',
        headDoctor: '赵明',
        staffCount: 10
      },
      {
        id: 'D004-2',
        name: '新生儿科',
        description: '专注于新生儿疾病的诊断和治疗',
        location: '门诊楼4层西南侧',
        headDoctor: '周健',
        staffCount: 8
      }
    ]
  },
  {
    id: 'D005',
    name: '眼科',
    description: '专注于眼部疾病的诊断和治疗',
    location: '门诊楼5层东侧',
    headDoctor: '黄明',
    staffCount: 10
  },
  {
    id: 'D006',
    name: '耳鼻喉科',
    description: '专注于耳、鼻、喉疾病的诊断和治疗',
    location: '门诊楼5层西侧',
    headDoctor: '陈亮',
    staffCount: 8
  },
  {
    id: 'D007',
    name: '皮肤科',
    description: '专注于皮肤疾病的诊断和治疗',
    location: '门诊楼5层北侧',
    headDoctor: '郑华',
    staffCount: 6
  },
  {
    id: 'D008',
    name: '口腔科',
    description: '提供口腔健康检查、治疗和美容服务',
    location: '门诊楼6层',
    headDoctor: '林海',
    staffCount: 12
  },
  {
    id: 'D009',
    name: '康复科',
    description: '提供康复评估、治疗和训练服务',
    location: '综合楼1层',
    headDoctor: '王健',
    staffCount: 15
  },
  {
    id: 'D010',
    name: '医学影像科',
    description: '提供各种医学影像检查和诊断服务',
    location: '综合楼2层',
    headDoctor: '张明',
    staffCount: 20,
    children: [
      {
        id: 'D010-1',
        name: '放射科',
        description: 'X光、CT等检查服务',
        location: '综合楼2层东侧',
        headDoctor: '李亮',
        staffCount: 8
      },
      {
        id: 'D010-2',
        name: '超声科',
        description: '各种超声检查服务',
        location: '综合楼2层西侧',
        headDoctor: '王芳',
        staffCount: 7
      },
      {
        id: 'D010-3',
        name: '核磁共振室',
        description: 'MRI检查服务',
        location: '综合楼2层北侧',
        headDoctor: '赵勇',
        staffCount: 5
      }
    ]
  }
];

// 医生数据
export const doctors = [
  {
    id: 'DR-001',
    name: '刘明',
    gender: '男',
    department: '心内科',
    title: '主任医师',
    specialty: '冠心病、高血压、心力衰竭',
    education: '北京协和医学院，医学博士',
    workYears: 25,
    schedule: [
      { day: '周一', time: '上午', available: true },
      { day: '周一', time: '下午', available: false },
      { day: '周三', time: '上午', available: true },
      { day: '周三', time: '下午', available: true },
      { day: '周五', time: '上午', available: true },
      { day: '周五', time: '下午', available: false }
    ],
    avatar: 'https://randomuser.me/api/portraits/men/11.jpg',
    introduction: '刘明医生从事心血管疾病临床工作25年，擅长冠心病、高血压、心力衰竭等疾病的诊治。曾在美国哈佛医学院进修两年，发表学术论文30余篇。'
  },
  {
    id: 'DR-002',
    name: '王红',
    gender: '女',
    department: '消化内科',
    title: '副主任医师',
    specialty: '胃炎、胃溃疡、炎症性肠病',
    education: '上海交通大学医学院，医学硕士',
    workYears: 18,
    schedule: [
      { day: '周二', time: '上午', available: true },
      { day: '周二', time: '下午', available: true },
      { day: '周四', time: '上午', available: true },
      { day: '周四', time: '下午', available: false },
      { day: '周六', time: '上午', available: true },
      { day: '周六', time: '下午', available: false }
    ],
    avatar: 'https://randomuser.me/api/portraits/women/12.jpg',
    introduction: '王红医生专注于消化系统疾病的诊治，尤其擅长胃炎、消化性溃疡、炎症性肠病的诊断与治疗。技术精湛，态度和蔼，深受患者好评。'
  },
  {
    id: 'DR-003',
    name: '张强',
    gender: '男',
    department: '骨科',
    title: '主任医师',
    specialty: '关节外科、脊柱外科、运动损伤',
    education: '中国医科大学，医学博士',
    workYears: 22,
    schedule: [
      { day: '周一', time: '上午', available: true },
      { day: '周一', time: '下午', available: true },
      { day: '周四', time: '上午', available: true },
      { day: '周四', time: '下午', available: true },
      { day: '周六', time: '上午', available: false },
      { day: '周六', time: '下午', available: false }
    ],
    avatar: 'https://randomuser.me/api/portraits/men/13.jpg',
    introduction: '张强医生是著名骨科专家，擅长关节置换、脊柱微创手术和运动损伤修复。曾担任国家级运动队医疗顾问，在国内外发表论文40余篇。'
  },
  {
    id: 'DR-004',
    name: '李红',
    gender: '女',
    department: '妇科',
    title: '主任医师',
    specialty: '妇科肿瘤、内分泌疾病、不孕症',
    education: '四川大学华西医学院，医学博士',
    workYears: 20,
    schedule: [
      { day: '周二', time: '上午', available: true },
      { day: '周二', time: '下午', available: false },
      { day: '周三', time: '上午', available: true },
      { day: '周三', time: '下午', available: true },
      { day: '周五', time: '上午', available: true },
      { day: '周五', time: '下午', available: false }
    ],
    avatar: 'https://randomuser.me/api/portraits/women/14.jpg',
    introduction: '李红医生是妇科领域资深专家，特别在妇科肿瘤、内分泌失调及不孕症诊治方面有丰富经验。温柔耐心，善于与患者沟通，获得广泛好评。'
  },
  {
    id: 'DR-005',
    name: '赵芳',
    gender: '女',
    department: '内分泌科',
    title: '副主任医师',
    specialty: '糖尿病、甲状腺疾病、肥胖症',
    education: '浙江大学医学院，医学硕士',
    workYears: 15,
    schedule: [
      { day: '周一', time: '上午', available: false },
      { day: '周一', time: '下午', available: true },
      { day: '周三', time: '上午', available: true },
      { day: '周三', time: '下午', available: true },
      { day: '周五', time: '上午', available: true },
      { day: '周五', time: '下午', available: true }
    ],
    avatar: 'https://randomuser.me/api/portraits/women/15.jpg',
    introduction: '赵芳医生专注于内分泌代谢疾病，尤其在糖尿病和甲状腺疾病的诊治方面经验丰富。曾参与多项国家级科研项目，积极推广内分泌疾病健康教育。'
  },
  {
    id: 'DR-006',
    name: '黄刚',
    gender: '男',
    department: '普通外科',
    title: '主任医师',
    specialty: '胆道外科、疝气、微创外科',
    education: '复旦大学医学院，医学博士',
    workYears: 23,
    schedule: [
      { day: '周二', time: '上午', available: true },
      { day: '周二', time: '下午', available: true },
      { day: '周四', time: '上午', available: true },
      { day: '周四', time: '下午', available: false },
      { day: '周六', time: '上午', available: true },
      { day: '周六', time: '下午', available: false }
    ],
    avatar: 'https://randomuser.me/api/portraits/men/16.jpg',
    introduction: '黄刚医生是资深外科专家，尤其擅长胆道手术和微创外科技术。手术技巧精湛，曾主持多项省级医学科研项目，培养了大批外科人才。'
  },
  {
    id: 'DR-007',
    name: '林青',
    gender: '男',
    department: '神经内科',
    title: '副主任医师',
    specialty: '脑血管病、帕金森病、癫痫',
    education: '首都医科大学，医学博士',
    workYears: 16,
    schedule: [
      { day: '周一', time: '上午', available: true },
      { day: '周一', time: '下午', available: false },
      { day: '周三', time: '上午', available: false },
      { day: '周三', time: '下午', available: true },
      { day: '周五', time: '上午', available: true },
      { day: '周五', time: '下午', available: true }
    ],
    avatar: 'https://randomuser.me/api/portraits/men/17.jpg',
    introduction: '林青医生在脑血管疾病和神经退行性疾病方面有深入研究，尤其擅长脑卒中的早期干预和康复指导。曾在德国海德堡大学附属医院进修两年。'
  },
  {
    id: 'DR-008',
    name: '张玲',
    gender: '女',
    department: '产科',
    title: '主任医师',
    specialty: '高危妊娠、产科并发症、产前诊断',
    education: '北京大学医学部，医学博士',
    workYears: 21,
    schedule: [
      { day: '周二', time: '上午', available: true },
      { day: '周二', time: '下午', available: true },
      { day: '周四', time: '上午', available: true },
      { day: '周四', time: '下午', available: true },
      { day: '周六', time: '上午', available: true },
      { day: '周六', time: '下午', available: false }
    ],
    avatar: 'https://randomuser.me/api/portraits/women/18.jpg',
    introduction: '张玲医生是著名产科专家，在高危妊娠管理和产科急危重症救治方面经验丰富。技术精湛，态度亲切，深受准妈妈们的信赖。'
  },
  {
    id: 'DR-009',
    name: '陈亮',
    gender: '男',
    department: '耳鼻喉科',
    title: '副主任医师',
    specialty: '中耳炎、鼻窦炎、声带疾病',
    education: '中山大学医学院，医学硕士',
    workYears: 14,
    schedule: [
      { day: '周一', time: '上午', available: true },
      { day: '周一', time: '下午', available: true },
      { day: '周三', time: '上午', available: true },
      { day: '周三', time: '下午', available: false },
      { day: '周五', time: '上午', available: false },
      { day: '周五', time: '下午', available: true }
    ],
    avatar: 'https://randomuser.me/api/portraits/men/19.jpg',
    introduction: '陈亮医生专注于耳鼻喉常见疾病诊治，擅长内镜下鼻窦手术和中耳炎治疗。技术精湛，对患者关怀备至，深受好评。'
  },
  {
    id: 'DR-010',
    name: '王健',
    gender: '男',
    department: '康复科',
    title: '主任医师',
    specialty: '神经康复、骨科康复、言语吞咽康复',
    education: '南京医科大学，医学博士',
    workYears: 19,
    schedule: [
      { day: '周二', time: '上午', available: true },
      { day: '周二', time: '下午', available: true },
      { day: '周四', time: '上午', available: true },
      { day: '周四', time: '下午', available: true },
      { day: '周六', time: '上午', available: true },
      { day: '周六', time: '下午', available: false }
    ],
    avatar: 'https://randomuser.me/api/portraits/men/20.jpg',
    introduction: '王健医生是康复医学领域的资深专家，在脑卒中后康复、脊髓损伤康复等方面有丰富经验。曾在美国康复医学中心进修，引进先进康复理念和技术。'
  }
];

// 诊室信息
export const clinicRooms = [
  { id: 'R001', name: '内科诊室1', department: '内科', floor: 2, roomNumber: '201', capacity: 1, equipment: ['诊查床', '血压计', '听诊器', '检眼镜'] },
  { id: 'R002', name: '内科诊室2', department: '内科', floor: 2, roomNumber: '202', capacity: 1, equipment: ['诊查床', '血压计', '听诊器', '检眼镜'] },
  { id: 'R003', name: '心内科诊室', department: '心内科', floor: 2, roomNumber: '203', capacity: 1, equipment: ['诊查床', '心电图机', '血压计', '听诊器'] },
  { id: 'R004', name: '消化内科诊室', department: '消化内科', floor: 2, roomNumber: '204', capacity: 1, equipment: ['诊查床', '血压计', '听诊器', '腹部触诊台'] },
  { id: 'R005', name: '外科诊室1', department: '外科', floor: 3, roomNumber: '301', capacity: 1, equipment: ['诊查床', '换药车', '手术器械柜', '无影灯'] },
  { id: 'R006', name: '骨科诊室', department: '骨科', floor: 3, roomNumber: '302', capacity: 1, equipment: ['诊查床', 'X光片阅读器', '骨科测量尺', '石膏工具'] },
  { id: 'R007', name: '妇科诊室1', department: '妇科', floor: 4, roomNumber: '401', capacity: 1, equipment: ['妇科检查床', '阴道窥镜', 'B超机', '妇科检查灯'] },
  { id: 'R008', name: '妇科诊室2', department: '妇科', floor: 4, roomNumber: '402', capacity: 1, equipment: ['妇科检查床', '阴道窥镜', 'B超机', '妇科检查灯'] },
  { id: 'R009', name: '产科诊室', department: '产科', floor: 4, roomNumber: '403', capacity: 1, equipment: ['产科检查床', '胎心监护仪', 'B超机', '产科测量尺'] },
  { id: 'R010', name: '儿科诊室1', department: '儿科', floor: 4, roomNumber: '404', capacity: 1, equipment: ['儿科诊查床', '儿童身高体重计', '儿科听诊器', '玩具'] },
  { id: 'R011', name: '眼科诊室', department: '眼科', floor: 5, roomNumber: '501', capacity: 1, equipment: ['眼科检查椅', '裂隙灯', '眼压计', '视力表'] },
  { id: 'R012', name: '耳鼻喉科诊室', department: '耳鼻喉科', floor: 5, roomNumber: '502', capacity: 1, equipment: ['耳鼻喉科检查椅', '耳鼻喉内窥镜', '听力检查设备', '鼻咽镜'] },
  { id: 'R013', name: '皮肤科诊室', department: '皮肤科', floor: 5, roomNumber: '503', capacity: 1, equipment: ['诊查床', '放大镜', '皮肤镜', '液氮治疗设备'] },
  { id: 'R014', name: '口腔科诊室1', department: '口腔科', floor: 6, roomNumber: '601', capacity: 1, equipment: ['口腔综合治疗台', '口腔X光机', '灭菌设备', '口腔工具'] },
  { id: 'R015', name: '口腔科诊室2', department: '口腔科', floor: 6, roomNumber: '602', capacity: 1, equipment: ['口腔综合治疗台', '口腔X光机', '灭菌设备', '口腔工具'] }
];

// 门诊排班数据
export const schedules = [
  {
    id: 'SCH-001',
    date: '2023-11-01',
    dayOfWeek: '周三',
    period: '上午',
    departmentId: 'D001-1',
    departmentName: '心内科',
    doctorId: 'DR-001',
    doctorName: '刘明',
    roomId: 'R003',
    roomName: '心内科诊室',
    capacity: 15,
    registered: 12,
    status: '已排班',
    createTime: '2023-10-20'
  },
  {
    id: 'SCH-002',
    date: '2023-11-01',
    dayOfWeek: '周三',
    period: '下午',
    departmentId: 'D001-1',
    departmentName: '心内科',
    doctorId: 'DR-001',
    doctorName: '刘明',
    roomId: 'R003',
    roomName: '心内科诊室',
    capacity: 15,
    registered: 8,
    status: '已排班',
    createTime: '2023-10-20'
  },
  {
    id: 'SCH-003',
    date: '2023-11-01',
    dayOfWeek: '周三',
    period: '上午',
    departmentId: 'D001-4',
    departmentName: '内分泌科',
    doctorId: 'DR-005',
    doctorName: '赵芳',
    roomId: 'R001',
    roomName: '内科诊室1',
    capacity: 15,
    registered: 15,
    status: '已满',
    createTime: '2023-10-20'
  },
  {
    id: 'SCH-004',
    date: '2023-11-01',
    dayOfWeek: '周三',
    period: '下午',
    departmentId: 'D001-4',
    departmentName: '内分泌科',
    doctorId: 'DR-005',
    doctorName: '赵芳',
    roomId: 'R001',
    roomName: '内科诊室1',
    capacity: 15,
    registered: 10,
    status: '已排班',
    createTime: '2023-10-20'
  },
  {
    id: 'SCH-005',
    date: '2023-11-01',
    dayOfWeek: '周三',
    period: '下午',
    departmentId: 'D001-5',
    departmentName: '神经内科',
    doctorId: 'DR-007',
    doctorName: '林青',
    roomId: 'R002',
    roomName: '内科诊室2',
    capacity: 12,
    registered: 5,
    status: '已排班',
    createTime: '2023-10-20'
  },
  {
    id: 'SCH-006',
    date: '2023-11-02',
    dayOfWeek: '周四',
    period: '上午',
    departmentId: 'D002-2',
    departmentName: '骨科',
    doctorId: 'DR-003',
    doctorName: '张强',
    roomId: 'R006',
    roomName: '骨科诊室',
    capacity: 15,
    registered: 14,
    status: '已排班',
    createTime: '2023-10-20'
  },
  {
    id: 'SCH-007',
    date: '2023-11-02',
    dayOfWeek: '周四',
    period: '下午',
    departmentId: 'D002-2',
    departmentName: '骨科',
    doctorId: 'DR-003',
    doctorName: '张强',
    roomId: 'R006',
    roomName: '骨科诊室',
    capacity: 15,
    registered: 7,
    status: '已排班',
    createTime: '2023-10-20'
  },
  {
    id: 'SCH-008',
    date: '2023-11-02',
    dayOfWeek: '周四',
    period: '上午',
    departmentId: 'D002-1',
    departmentName: '普通外科',
    doctorId: 'DR-006',
    doctorName: '黄刚',
    roomId: 'R005',
    roomName: '外科诊室1',
    capacity: 15,
    registered: 13,
    status: '已排班',
    createTime: '2023-10-20'
  },
  {
    id: 'SCH-009',
    date: '2023-11-02',
    dayOfWeek: '周四',
    period: '上午',
    departmentId: 'D003-1',
    departmentName: '妇科',
    doctorId: 'DR-004',
    doctorName: '李红',
    roomId: 'R007',
    roomName: '妇科诊室1',
    capacity: 15,
    registered: 15,
    status: '已满',
    createTime: '2023-10-20'
  },
  {
    id: 'SCH-010',
    date: '2023-11-02',
    dayOfWeek: '周四',
    period: '上午',
    departmentId: 'D003-2',
    departmentName: '产科',
    doctorId: 'DR-008',
    doctorName: '张玲',
    roomId: 'R009',
    roomName: '产科诊室',
    capacity: 15,
    registered: 10,
    status: '已排班',
    createTime: '2023-10-20'
  },
  {
    id: 'SCH-011',
    date: '2023-11-02',
    dayOfWeek: '周四',
    period: '下午',
    departmentId: 'D003-2',
    departmentName: '产科',
    doctorId: 'DR-008',
    doctorName: '张玲',
    roomId: 'R009',
    roomName: '产科诊室',
    capacity: 15,
    registered: 9,
    status: '已排班',
    createTime: '2023-10-20'
  },
  {
    id: 'SCH-012',
    date: '2023-11-02',
    dayOfWeek: '周四',
    period: '下午',
    departmentId: 'D010',
    departmentName: '康复科',
    doctorId: 'DR-010',
    doctorName: '王健',
    roomId: 'R001',
    roomName: '内科诊室1',
    capacity: 10,
    registered: 4,
    status: '已排班',
    createTime: '2023-10-20'
  }
]; 